Reference: stringProc2 |
stringProc2 displays a descriptive string for the user in VirtualDub's filter dialog box, so the user can identify the filter's current setting in a quick glance.
Prototype |
void stringProc2(const FilterActivation *fa, const FilterFunctions *ff, char *buf, int maxlen); Parameters: fa Pointer to filter activation structure ff Pointer to callback function structure buf Pointer to target buffer maxlen Size of target buffer in bytes Return value: None. Exceptions: No exceptions should be thrown from this function. Requirements: Function may be omitted. No default action is taken. Host support: VirtualDub 1.4.11 (API V8) 1.4.11 will use this function over stringProc if available.
Remarks |
This function is the same as stringProc, except that this version supplies the length of the buffer, to avoid buffer overflows. New filters should supply both this function and stringProc; 1.4.10 and earlier will use the the older function, and 1.4.11 will use this version.
VirtualDub external filter SDK 1.05 | ©1999-2001 Avery Lee <phaeron@virtualdub.org> |